package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.DoctorReserveCreateTask.DoctorReserveCreateRequest;
import com.smiier.skin.net.DoctorReserveCreateTask.DoctorReserveCreateResponse;
import com.smiier.skin.util.GlobalSettings;

/*
 * 预约创建
 * */
public class DoctorReserveCreateTask extends
		NetTask<DoctorReserveCreateRequest, DoctorReserveCreateResponse> {
	public static class DoctorReserveCreateRequest extends ORequest {
		public String userid;
		public String time;
		public String treatmentprojectid;
		public String username;
		public String sex;
		public int age;
		public String mobile;
		public String validatecode;
		public String client_id;
		public int is_ios = 0;
	}

	public static class DoctorReserveCreateResponse extends OResponse {
		public String Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/DoctorReserve/reserveCreate";
		mRequestMethod = METHOD_POST;
	}

}
